<ul>
	<?php foreach ($cate as $data):?>
	<li class="itemlist" style="border-bottom:dashed 1px grey;padding-top:5px;padding-bottom:5px;">
		<input type="checkbox" name="category"  value="<?php echo $data['cate_id'];?>" />&nbsp;&nbsp;<?php if($data['deep']>1){echo "";}?><?php for($i=1;$i<$data['deep'];$i++):?>－<?php endfor;?> <?php echo $data['cate_name'];?>
		&nbsp;&nbsp;<span class="quick hide"><a href="#" class="quickshow">快速编辑</a> <?php if($data['cate_pid'] != 0):?> | <a href="<?php echo $this->createUrl('update',array('id'=>$data['cate_id']));?>">编辑</a> | <a href="<?php echo $this->createUrl('deleteremote',array('id'=>$data['cate_id']));?>">删除</a><?php endif;?></span>
		
		<div class="row hide showitem">
			<br />
			<label class="require">分类名：</label>
			<input type="text"  id="cate_name_<?php echo $data['cate_id'];?>" value="<?php echo $data['cate_name'];?>" style="width:30%;" />
			<?php CHtml::dropDownList('cate_contype', '', Category::model()->generateContentTypeDropdownListArray(), $htmlOptions)?>
			<button class="itemsubmit">OK</button>
		</div>
	</li>
	<?php endforeach;?>
</ul>

